package cn.saddyfire.pattern.decorator;

/**
 * @author Dee
 * @date 2024/2/3
 * <p>Description:炒面(具体构建角色)
 */
public class FriedNoodles extends FastFood{
    public FriedNoodles() {
        super(12, "炒面");
    }

    @Override
    public float cost() {
        return getPrice();
    }
}
